home *** CD-ROM | disk | FTP | other *** search
/ InfoMagic Internet Tools 1993 July / Internet Tools.iso / RockRidge / mail / pp / pp-6.0 / Tools / ckmail / Makefile < prev    next >
Encoding:
Makefile  |  1991-12-18  |  3.3 KB  |  151 lines

  1. # Makefile for checkmail program
  2. #
  3. ############################################################
  4. #
  5. # @(#) $Header: /xtel/pp/pp-beta/Tools/ckmail/RCS/Makefile,v 6.0 1991/12/18 20:29:15 jpo Rel $
  6. #
  7. # $Log: Makefile,v $
  8. # Revision 6.0  1991/12/18  20:29:15  jpo
  9. # Release 6.0
  10. #
  11. #
  12. ############################################################
  13. #
  14. # Definitions
  15. #
  16. ############################################################
  17.  
  18.  
  19.  
  20. SRCS =  ckmail.c ryinitiator.c
  21. OBJS =  ckmail.o ryinitiator.o
  22. # DO NOT DELETE THIS LINE MAKE DEFINE NEEDS IT
  23.  
  24. HEADERS = ../../h -I/usr/include/isode
  25. LIBPP   = ../../Lib/libpp.a
  26. INCLUDE = -I$(HEADERS)
  27.  
  28. CFLAGS  = $(CCOPTIONS) $(LCF) $(INCLUDE)
  29. LDFLAGS = $(LDOPTIONS) $(LLF)
  30. LLFLAGS = $(LINTFLAGS) -u $(INCLUDE)
  31. LINTLIBS = $(LINTISODE) ../../Lib/llib-lpp.ln
  32.  
  33. PROGS = xcheckmail
  34.  
  35. ############################################################
  36. #
  37. # Building Rules
  38. #
  39. ############################################################
  40.  
  41. default: $(PROGS)
  42.  
  43. ############################################################
  44. #
  45. # CheckMail
  46. #
  47. ############################################################
  48.  
  49. checkmail: xcheckmail
  50.  
  51. xcheckmail: $(OBJS) $(LIBPP)
  52.         -rm -f $@
  53.         $(CC) $(LDFLAGS) -o $@ $(OBJS) $(LIBPP) $(LIBSYS)
  54.  
  55. ckmail.o:   ryinitiator.h
  56. ryinitiator.o:  ryinitiator.h
  57.  
  58. saber_ckmail: $(SRCS)
  59.     #load -C $(CFLAGS) $(SRCS) $(LIBPP) $(LIBSYS)
  60.  
  61. ############################################################
  62. #
  63. # Misc stuff
  64. #
  65. ############################################################
  66.  
  67.  
  68. install: inst-dir inst-checkmail
  69. inst-checkmail: $(USRBINDIR)/checkmail
  70. $(USRBINDIR)/checkmail: xcheckmail
  71.     -$(BACKUP) $@ zxcheckmail
  72.     -rm -f $@
  73.     $(INSTALL) xcheckmail $@
  74.     -$(CHMOD) $(PGMPROT) $@
  75.     -$(CHOWN) $(PPUSER) $@
  76.     -@ls -ls $@
  77.     -@echo "checkmail tool installed normally"; echo ""
  78.  
  79. inst-dir: $(TOOLDIR)
  80.  
  81.  
  82. clean:  tidy
  83.     rm -f $(OBJS)
  84.  
  85. tidy:
  86.     rm -f core a.out *.old $(PROGS) *.BAK zx*
  87.  
  88.  
  89. lint: l-checkmail
  90.  
  91. l-checkmail: $(SRCS) true
  92.     $(LINT) $(LLFLAGS) $(SRCS) $(LINTLIBS)
  93.  
  94. define:
  95.     $(DEFINE) Makefile
  96.  
  97. depend:
  98.     $(DEPEND) $(INCLUDE) $(SRCS)
  99.  
  100. true:;
  101.  
  102. ############################################################
  103. #
  104. # End of Building Rules
  105. #
  106. ############################################################
  107.  
  108. # DO NOT DELETE THIS LINE MAKE DEPEND NEEDS IT
  109. # Dependencies follow
  110. ckmail.o: ckmail.c
  111. ckmail.o: ../../h/util.h
  112. ckmail.o: ../../h/config.h
  113. ckmail.o: ../../h/ll_log.h
  114. ckmail.o: ../../h/Qmgr-ops.h
  115. ckmail.o: ../../h/Qmgr-types.h
  116. ckmail.o: ../../h/retcode.h
  117. ckmail.o: ../../h/adr.h
  118. ckmail.o: ../../h/list_rchan.h
  119. ckmail.o: ../../h/chan.h
  120. ckmail.o: ../../h/table.h
  121. ckmail.o: ../../h/list_bpt.h
  122. ckmail.o: ../../h/auth.h
  123. ckmail.o: ../../h/list_bpt.h
  124. ckmail.o: ../../h/extension.h
  125. ckmail.o: ../../h/mta.h
  126. ckmail.o: ../../h/adr.h
  127. ckmail.o: ../../h/list_bpt.h
  128. ckmail.o: ../../h/aparse.h
  129. ckmail.o: ../../h/ap.h
  130. ckmail.o: ../../h/util.h
  131. ckmail.o: ../../h/or.h
  132. ckmail.o: ../../h/chan.h
  133. ckmail.o: ../../h/auth.h
  134. ckmail.o: ../../h/list_rchan.h
  135. ckmail.o: ../../h/alias.h
  136. ckmail.o: ../../h/ap.h
  137. ckmail.o: ../../h/or.h
  138. ckmail.o: ./ryinitiator.h
  139. ryinitiator.o: ryinitiator.c
  140. ryinitiator.o: ../../h/util.h
  141. ryinitiator.o: ../../h/config.h
  142. ryinitiator.o: ../../h/ll_log.h
  143. ryinitiator.o: ../../h/qmgr.h
  144. ryinitiator.o: ../../h/Qmgr-types.h
  145. ryinitiator.o: ../../h/Qmgr-ops.h
  146. ryinitiator.o: ./ryinitiator.h
  147.  
  148. # DEPENDENCIES MUST END AT END OF FILE
  149. # IF YOU PUT STUFF HERE IT WILL GO AWAY
  150. # see make depend above
  151.